#ifndef SYSTEMMSGPROCESSOR
#define SYSTEMMSGPROCESSOR
#include "StompedReality/Core.h"
#include "StompedReality/Core/GameAccess.h"
#include "StompedReality/Core/OS/SystemMessageListener.h"
#include <vector>
namespace StompedReality {
namespace Core {
class DLL_EXPORT SystemMessageProcessor :
  public StompedReality::GameAccess
{
 protected:

  typedef std::vector< StompedReality::Core::SystemMessageListener* > SysMsgListeners;
  SysMsgListeners m_Listeners;

 public:

  SystemMessageProcessor( );
  virtual ~SystemMessageProcessor( );
  void Initialize( );
  void AddListener( StompedReality::Core::SystemMessageListener* listener );
  void ProcessMsg( StompedReality::Core::SystemMessage* msg );
  bool Update( );
};

}
}
#endif // ifndef SYSTEMMSGPROCESSOR